<script setup>
import { onMounted, reactive, ref } from 'vue';
import { idnumStore } from './store/idnum';
import { userStore } from './store/user';
const store = idnumStore();
const user_store = userStore();
onMounted(()=>{
  window.addEventListener("beforeunload",(e)=>{
    store.set_null();
  })
})
</script>

<template>
  <div id="app">
  <router-view>
    
  </router-view>
</div>
</template>

<style>
#app {

  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
